package cmw.com.beijingnew.menudetailpager;

import android.content.Context;
import android.graphics.Color;
import android.view.Gravity;
import android.view.View;
import android.widget.TextView;

import org.xutils.common.util.LogUtil;

import cmw.com.base.MenuDetailBasePager;

/**
 * 图组详情页面
 * Created by Administrator on 2017/4/23.
 */

public class PhotosMenuDetailPager extends MenuDetailBasePager {

    private TextView textView;

    public PhotosMenuDetailPager(Context context) {
        super(context);
    }

    @Override
    protected View initView() {
        textView = new TextView(context);
        textView.setGravity(Gravity.CENTER);
        textView.setTextSize(24);
        textView.setTextColor(Color.RED);
        return textView;
    }

    @Override
    public void initData() {
        super.initData();
        LogUtil.i("图组详情页面内容数据初始化了...");
        textView.setText("图组详情页面内容");
    }
}
